#pragma once

#include <string>
#include <iostream>
using namespace std;

#ifndef USER_H
#define USER_H

#include "ManagerUser.h"

class User {
    friend ostream &operator<<(ostream &, const User &user);
    friend istream &operator>>(istream &, User &user);

public:
    User(const string &, const string &);
    virtual ~User();
    void         setUserName(const string &);
    void         setUserId(const string &);
    string       getUserName() const;
    string       getUserId() const;
    virtual void find(ManagerUser &) = 0;

private:
    string userId;
    string userName;
};
#endif // !USER_H
